﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace RetailManagement.Controllers
{
    public class HomeController : Controller
    {
        
        public ActionResult Index(string name,int number=1)
        {
            ViewBag.Message = name ;
            ViewBag.Num = number;
            return RedirectToAction("List_Voucher", "Voucher");
            //return View();
        }
        
        public ActionResult About()
        {
            return View();
        }
    }
}
